package com.exchangeek.server.service.definition;

import com.exchangeek.server.entity.bean.User;

/**
 * Created with IntelliJ IDEA.
 * Project Name: Exchangeek_Server
 * Date Created: 2013/09/12 下午4:41
 *
 * @author Wings
 */

/**
 * Path annotation not allowed here: UserInfoServiceDefinition is an interface and cannot be instantiated.
 * //@Path("/user")
 */
public interface UserInfoServiceDefinition {

    public abstract Object createUser(User user);

    public abstract User queryUser(String userName, String hash);

    public abstract Object updateUser(String oldUserName, String oldHash, User user);

    public abstract Object deleteUser(String userName);

}
